package policies

import (
	"gitee.com/sweetsunnyflower/carpooling-server-go/app/models/driver"
)

func CanModifyDriver(userId uint64, driver driver.Driver) bool {
	// return userId == driver.UserId
	return true
}

func CanCreateDriver(userId uint64, driver driver.Driver) bool {
	// return userId == driver.UserId
	return true
}

func CanUpdateDriver(userId uint64, driver driver.Driver) bool {
	// return userId == driver.UserId
	return true
}

func CanDeleteDriver(userId uint64, driver driver.Driver) bool {
	// return userId == driver.UserId
	return true
}
